home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
TUTORIAL
/
1307B.ZIP
/
ANSWERS
/
CH05E1.MOD
< prev
next >
Wrap
Text File
|
1989-01-18
|
641b
|
41 lines
(* Chapter 5 - Programming exercise 1 *)
MODULE CH05E1;
FROM InOut IMPORT WriteString, WriteLn;
PROCEDURE ListMyName;
BEGIN
WriteString("John Doe");
WriteLn;
END ListMyName;
PROCEDURE ListMyAddress;
BEGIN
WriteString("1234 Main Street");
WriteLn;
END ListMyAddress;
PROCEDURE ListMyState;
BEGIN
WriteString("Littleburg, NY 01254");
WriteLn;
END ListMyState;
BEGIN
ListMyName;
ListMyAddress;
ListMyState;
END CH05E1.
(* Result of execution
John Doe
1234 Main Street
Littleburg, NY 01254
*)